<%@ taglib uri="http://www.opensymphony.com/oscache" prefix="cache" %>
<html>
    <head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>JSP Page</title>
    </head>
    <body>
	<ul>
	    <li> Add Group:<br/>
		<cache:cache time="10" key="key1" scope="session">
		    base content<br/>
		    <cache:addgroup group="group1" >
			group1 content<br/>
		    </cache:addgroup>
		    <cache:addgroup group="group2" >
			group2 content<br/>
		    </cache:addgroup>
		</cache:cache>
		<cache:cache key="key1" scope="session">
		</cache:cache>
	    </li>
	    <li> Add Groups:<br/>
		<cache:cache time="10" key="key2" scope="session">
		    base content<br/>
		    <cache:addgroups groups="group1,group2" >
			groups content<br/>
		    </cache:addgroups>
		</cache:cache>
		<cache:cache key="key2" scope="session">
		</cache:cache>
	    </li>
	</ul>
    </body>
</html>
